<div class="problemindexholder" problemindex="A">
 <div class="ttypography">
  <div class="problem-statement">
   <div class="header">
    <div class="title">
     A. Set Theory
    </div>
    <div class="time-limit">
     <div class="property-title">
      time limit per test
     </div>
     1 second
    </div>
    <div class="memory-limit">
     <div class="property-title">
      memory limit per test
     </div>
     256 megabytes
    </div>
    <div class="input-file">
     <div class="property-title">
      input
     </div>
     standard input
    </div>
    <div class="output-file">
     <div class="property-title">
      output
     </div>
     standard output
    </div>
   </div>
   <div>
    <p>
     Masha and Grisha like studying sets of positive integers.
    </p>
    <p>
     One day Grisha has written a set
     <span class="tex-span">
      <i>
       A
      </i>
     </span>
     containing
     <span class="tex-span">
      <i>
       n
      </i>
     </span>
     different integers
     <span class="tex-span">
      <i>
       a
      </i>
      <sub class="lower-index">
       <i>
        i
       </i>
      </sub>
     </span>
     on a blackboard. Now he asks Masha to create a set
     <span class="tex-span">
      <i>
       B
      </i>
     </span>
     containing
     <span class="tex-span">
      <i>
       n
      </i>
     </span>
     different integers
     <span class="tex-span">
      <i>
       b
      </i>
      <sub class="lower-index">
       <i>
        j
       </i>
      </sub>
     </span>
     such that all
     <span class="tex-span">
      <i>
       n
      </i>
      <sup class="upper-index">
       2
      </sup>
     </span>
     integers that can be obtained by summing up
     <span class="tex-span">
      <i>
       a
      </i>
      <sub class="lower-index">
       <i>
        i
       </i>
      </sub>
     </span>
     and
     <span class="tex-span">
      <i>
       b
      </i>
      <sub class="lower-index">
       <i>
        j
       </i>
      </sub>
     </span>
     for all possible pairs of
     <span class="tex-span">
      <i>
       i
      </i>
     </span>
     and
     <span class="tex-span">
      <i>
       j
      </i>
     </span>
     are different.
    </p>
    <p>
     Both Masha and Grisha don't like big numbers, so all numbers in
     <span class="tex-span">
      <i>
       A
      </i>
     </span>
     are from
     <span class="tex-span">
      1
     </span>
     to
     <span class="tex-span">
      10
      <sup class="upper-index">
       6
      </sup>
     </span>
     , and all numbers in
     <span class="tex-span">
      <i>
       B
      </i>
     </span>
     must also be in the same range.
    </p>
    <p>
     Help Masha to create the set
     <span class="tex-span">
      <i>
       B
      </i>
     </span>
     that satisfies Grisha's requirement.
    </p>
   </div>
   <div class="input-specification">
    <div class="section-title">
     Input
    </div>
    <p>
     Input data contains multiple test cases. The first line contains an integer
     <span class="tex-span">
      <i>
       t
      </i>
     </span>
     — the number of test cases (
     <span class="tex-span">
      1 ≤
      <i>
       t
      </i>
      ≤ 100
     </span>
     ).
    </p>
    <p>
     Each test case is described in the following way: the first line of the description contains one integer
     <span class="tex-span">
      <i>
       n
      </i>
     </span>
     — the number of elements in
     <span class="tex-span">
      <i>
       A
      </i>
     </span>
     (
     <span class="tex-span">
      1 ≤
      <i>
       n
      </i>
      ≤ 100
     </span>
     ).
    </p>
    <p>
     The second line contains
     <span class="tex-span">
      <i>
       n
      </i>
     </span>
     integers
     <span class="tex-span">
      <i>
       a
      </i>
      <sub class="lower-index">
       <i>
        i
       </i>
      </sub>
     </span>
     — the elements of
     <span class="tex-span">
      <i>
       A
      </i>
     </span>
     (
     <span class="tex-span">
      1 ≤
      <i>
       a
      </i>
      <sub class="lower-index">
       <i>
        i
       </i>
      </sub>
      ≤ 10
      <sup class="upper-index">
       6
      </sup>
     </span>
     ).
    </p>
   </div>
   <div class="output-specification">
    <div class="section-title">
     Output
    </div>
    <p>
     For each test first print the answer:
    </p>
    <ul>
     <li>
      <span class="tex-font-style-tt">
       NO
      </span>
      , if Masha's task is impossible to solve, there is no way to create the required set
      <span class="tex-span">
       <i>
        B
       </i>
      </span>
      .
     </li>
     <li>
      <span class="tex-font-style-tt">
       YES
      </span>
      , if there is the way to create the required set. In this case the second line must contain
      <span class="tex-span">
       <i>
        n
       </i>
      </span>
      different positive integers
      <span class="tex-span">
       <i>
        b
       </i>
       <sub class="lower-index">
        <i>
         j
        </i>
       </sub>
      </span>
      — elements of
      <span class="tex-span">
       <i>
        B
       </i>
      </span>
      (
      <span class="tex-span">
       1 ≤
       <i>
        b
       </i>
       <sub class="lower-index">
        <i>
         j
        </i>
       </sub>
       ≤ 10
       <sup class="upper-index">
        6
       </sup>
      </span>
      ). If there are several possible sets, output any of them.
     </li>
    </ul>
   </div>
   <div class="sample-tests">
    <div class="section-title">
     Example
    </div>
    <div class="sample-test">
     <div class="input">
      <div class="title">
       Input
      </div>
      <pre>3<br/>3<br/>1 10 100<br/>1<br/>1<br/>2<br/>2 4<br/></pre>
     </div>
     <div class="output">
      <div class="title">
       Output
      </div>
      <pre>YES<br/>1 2 3 <br/>YES<br/>1 <br/>YES<br/>1 2 <br/></pre>
     </div>
    </div>
   </div>
  </div>
  <p>
  </p>
 </div>
</div>
